<jsp:include page="logincheck.jsp" />
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
<%@ page import="java.util.*" %>
<%@ page import="se2.DiscountPlan" %>

<jsp:useBean id="bp" class="se2.BillingPlan" scope="request"/>
<jsp:setProperty name="bp" property="*"/>

<%
	bp.loadAllInformation();
%>

<html>

	<head>
		<title>Administration Console</title>
		<link rel="stylesheet" href="default.css" type="text/css" media="screen"></link>
		<script type="text/javascript" language="javascript" src="addPhoneAccount.js"></script>
	</head>

	<body>
		<div id="container">
			<div id="navigation">
<p>&nbsp;</p>
<jsp:include page="navigation.jsp" />
			</div>
			
			<div id="header">				
				<img src="images/header.png" />
			</div>

			<div id="content">
<!-- Main code -->

<h1>Customer Accounts :: Remove Billing Plan</h1>

<form name="removeBilling" id="removeBilling" method="post" action="removeBillingPlanFunction.jsp?id=<%= bp.getId() %>">
	<table border="0" cellpadding="0" cellspacing="0" width="100%">
		<tr>
			<td colspan="2"><h2>Remove the following Billing Plan?</h2></td>
		</tr>
		
		<tr style="background-image: url('images/tableBackground.png');">
			<td><strong>ID</strong></td>
			<td><%= bp.getId() %></td>
		</tr>
		
		<tr>
			<td><strong>Name</strong></td>
			<td><%= bp.getName() %></td>
		</tr>
		
		<tr style="background-image: url('images/tableBackground.png');">
			<td><strong>Base Rate</strong></td>
			<td><%= bp.getBaseRate() %></td>
		</tr>
		
		<tr>
			<td colspan="2" align="right">
				<input type="submit" value="Yes" /> &nbsp; &nbsp;
				<input type="button" value="Cancel" onclick="javascript:document.location.href='viewBillingPlan.jsp?id=<%= bp.getId() %>'" />
			</td>
		</tr>
	</table>
</form>

<!-- Main Code -->
			</div>

			<div id="footer">
<jsp:include page="footer.jsp" />
			</div>
		</div>
	</body>

</html>